package com.drops.exp.util;

import cn.hutool.http.HttpResponse;
import com.drops.utils.HTTPUtils;
import com.drops.utils.ResponseUtil;

/**
 * @ClassName: RefreshPost
 * @Description: TODO
 * @Author: Summer
 * @Date: 2021/7/29 13:55
 * @Version: v1.0.0
 * @Description:
 **/
public class RefreshPost {

    public static boolean isRefreshPost(String target){
//        HttpResponse result = HTTPUtils.postRequestV1(target,"refresh");
//        if (ResponseUtil.getStats(result) == 200){
//            return true;
//        }
        return true;
    }

    public static boolean isRefreshPostV2(String target){
//        HttpResponse result = HTTPUtils.postRequestV2(target,"actuator/refresh");
//        if (ResponseUtil.getStats(result) == 200){
//            return true;
//        }
        return true;
    }
}
